<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>GetGadgetData</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">GetGadgetData()</font></b></p>
<p><b>Syntax</b></p><blockquote>

Result = <font color="#006666"><b>GetGadgetData</b></font>(#Gadget)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Returns the 'Data' value that has been stored for this gadget with the <a href="setgadgetdata.html">SetGadgetData()</a> function. 
This allows to associate a custom value with any gadget. 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Gadget</i></td>
<td width="90%"> 
 
The gadget to use. 

 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>



Returns the current data value. If there was never a data value set for this gadget, the return-value 
will be 0. 

 

</blockquote><p><b>Remarks</b></p><blockquote>



This function works with all PureBasic gadgets. See <a href="setgadgetdata.html">SetGadgetData()</a> for an example. 

 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="setgadgetdata.html">SetGadgetData()</a>, <a href="getgadgetitemdata.html">GetGadgetItemData()</a>, <a href="setgadgetitemdata.html">SetGadgetItemData()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=getgadgetcolor.html>GetGadgetColor()</a> - <a href=index.html>Gadget Index</a> - <a href=getgadgetfont.html>GetGadgetFont()</a> -&gt;



</body></html>